﻿using System.Collections.Generic;

namespace Xcapp
{
    /// <summary>
    /// Represents a runnable operation or task request.
    /// </summary>
    public interface IOperation
    {
        /// <summary>
        /// Executes this instance.
        /// </summary>
        /// <returns></returns>
        bool Execute();

        /// <summary>
        /// Gets the descriptions for the operation.
        /// </summary>
        /// <value>
        /// The descriptions.
        /// </value>
        IEnumerable<string> Descriptions { get; }
    }
}